package com.practice.pojo.admin.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author Jasmine
 * @since 2023-05-14
 */
@Data
@Accessors(chain = true)
@TableName("ydd_advimg")
@ApiModel(value = "Advimg对象", description = "")
public class Advimg implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("广告图位置，关联广告位id")
    private String advimgpos;

    @ApiModelProperty("广告图地址")
    private String advimgsrc;

    @ApiModelProperty("广告图描述")
    private String advimgdesc;

    @ApiModelProperty("广告图链接")
    private String advimglink;

    @ApiModelProperty("是否为默认数据，null表示不是，1表示是")
    private String defaultData;


}
